package com.wr.web.controller;

import com.wr.web.entity.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("/hello")
    public User hello(){
        User user = new User(1001,"张三");
        return user;
    }
}
